﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SubmitModule.aspx.cs" Inherits="WebPubManager_SubmitModule" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>办事事项上传材料</title>
    <link href="../css/page.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        //打开下载模板附件页面方法 addby zhongjian 20090923
        function DownLoad(strID) {
            window.location.href = "AppearOtherResouce.aspx?type=Material&id=" + strID;
        }
        //打开下载外网在线申报上传的附件信息页面方法 addby zhongjian 20090923
        function DownLoadAtt(strID) {
            window.location.href = "AppearOtherResouce.aspx?type=AttAchment&id=" + strID;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table class="tab_top" width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17">
                    <img src="../images/tab_top_left.gif" width="17" height="35" alt="" />
                </td>
                <td  align="center">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
                <td width="5" align="right">
                    <img src="../images/tab_top_right.gif" width="5" height="35" alt="" />
                </td>
            </tr>
        </table>
        <controlDefine:CustomGridView ID="gridviewCar" runat="server" AllowPaging="True"
            Width="100%" HideTextLength="30" DivFstClass-DivButtonClass="input" AutoGenerateColumns="False" ShowCmpAndCancel="False" SkinID="NewGrid"
            AllowOnMouseOverEvent="False" ShowItemNumber="false" AutoGenerateDeleteConfirm="True"
           ShowHideColModel="None"
            OnRowCreated="gridviewCar_RowCreated" OnOnLoadData="recvgrid_OnLoadData">
            <PagerSettings Visible="False" />
            <Columns>
                <asp:BoundField DataField="序号" HeaderText="序号" />
                <asp:BoundField DataField="MODULENAME" HeaderText="附件名称"></asp:BoundField>
                <asp:TemplateField HeaderText="附件模板">
                    <ItemTemplate>
                        <a href='#' onclick="DownLoad('<%# DataBinder.Eval(Container.DataItem, "moduleid")%>')">
                            <%#GetFileName(Container)%></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="上传材料名称">
                    <ItemTemplate>
                        <a href='#' onclick="DownLoadAtt('<%# DataBinder.Eval(Container.DataItem, "attachid")%>')">
                            <%#GetAttName(Container)%></a>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </controlDefine:CustomGridView>
    </div>
    </form>
</body>
</html>
